package com.edu.mapper;

import com.edu.bean.Book;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookMapper {

    Book selectBookById(int bookId);

    int insertBook(Book book);

    int insertBooks(@Param("books") List<Book> bookList);

    int insertBooks2(@Param("books") List<Book> bookList);

}
